<template>
  <div>
    <Main />
    <HomeGoods :ishot="true" message="热门商品" supplement="经得起时间的考验，大众喜欢的，总有一款是你的菜" />
    <HomeGoods :ishot="false" message="最新商品" supplement="我们的平台是行内顶尖的，你想了解的，都能找到" />
    <Card />
    <Share />
    <Bottom />
  </div>
</template>
<script>
import Main from "../../components/nologin/Main";
import HomeGoods from "../../components/nologin/HomeGoods";
import Card from "../../components/nologin/Card"
import Share from "../../components/nologin/Share"
import Bottom from "@/components/Bottom"
export default {
  components: {
    Main,
    HomeGoods,
    Card,
    Share,
    Bottom
  },
  created(){
    this.loading = this.$loading({
          lock: true,
          text: "加载中",
          spinner: "el-icon-loading",
          background: "rgba(0, 0, 0, 0.7)",
        });
  },
  mounted() {
    this.loading.close()
  },
};
</script>
<style lang="scss" scoped>

// .main {
//     height: 600px;
// }
</style>